package per.hx.bs.entity.yw;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import per.hx.bs.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * @author HuXing
 * @date 2018/4/26  21:48
 */
@TableName("yw_appraisal_record")
public class YwAppraisalRecordDO extends BaseEntity {

    @TableId
    private Long id;
    private Long userId;
    private String typeName;
    private String itemId;
    private String itemName;
    private Integer itemMoney;
    private String itemUnit;
    private String itemType;
    private String itemRemark;
    private Integer recordAmount;
    private Integer recordMoney;
    private Integer isJs;
    private Long isJsId;
    private Long fileId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Integer getItemMoney() {
        return itemMoney;
    }

    public void setItemMoney(Integer itemMoney) {
        this.itemMoney = itemMoney;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public void setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public Integer getRecordAmount() {
        return recordAmount;
    }

    public void setRecordAmount(Integer recordAmount) {
        this.recordAmount = recordAmount;
    }

    public Integer getRecordMoney() {
        return recordMoney;
    }

    public void setRecordMoney(Integer recordMoney) {
        this.recordMoney = recordMoney;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getItemRemark() {
        return itemRemark;
    }

    public void setItemRemark(String itemRemark) {
        this.itemRemark = itemRemark;
    }

    public Integer getIsJs() {
        return isJs;
    }

    public void setIsJs(Integer isJs) {
        this.isJs = isJs;
    }

    public Long getIsJsId() {
        return isJsId;
    }

    public void setIsJsId(Long isJsId) {
        this.isJsId = isJsId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    @Override
    public String toString() {
        return "YwAppraisalRecordDO{" +
                "id=" + id +
                ", userId=" + userId +
                ", typeName='" + typeName + '\'' +
                ", itemId=" + itemId +
                ", itemName='" + itemName + '\'' +
                ", itemMoney=" + itemMoney +
                ", itemUnit='" + itemUnit + '\'' +
                ", itemType='" + itemType + '\'' +
                ", itemRemark='" + itemRemark + '\'' +
                ", recordAmount=" + recordAmount +
                ", recordMoney=" + recordMoney +
                ", isJs=" + isJs +
                ", isJsId=" + isJsId +
                ", fileId=" + fileId +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
